package com.bao.work;

/**
 * @author baoye
 * @date 2024-08-07/20:52
 */
public class Thread03 {
    public static void main(String[] args) {
        Thread thread=new Thread(()->{
                for (int i=0;i<10;i++){
                    System.out.println("我是"+Thread.currentThread().getName());
            }
        });
        thread.start();
        for (int i=0;i<10;i++){
            System.out.println("我是"+Thread.currentThread().getName());
        }
    }
}
